package com.atguigu.tingshu.account.client.impl;


import com.atguigu.tingshu.account.client.UserAccountFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.vo.account.AccountLockResultVo;
import com.atguigu.tingshu.vo.account.AccountLockVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class UserAccountDegradeFeignClient implements UserAccountFeignClient {
    /**
     * @description: 检查并锁定可用余额
     * @author Petrichor
     * @date 2024/1/8 19:47
     * @param accountLockVo 锁定金额对象
     * @return AccountLockResultVo 锁定金额返回对象
     **/
    @Override
    public Result<AccountLockResultVo> checkAndLock(AccountLockVo accountLockVo) {
        log.info("UserAccountFeignClient...检查并锁定可用余额...降级类...checkAndLock");
        return null;
    }
}
